package com.mycp.privacy.transform

import com.didiglobal.booster.transform.Transformer
import com.didiglobal.booster.transform.asm.ClassTransformer
import com.google.auto.service.AutoService
import com.mycp.privacy.transformers.BaseLoaderTransformer
import com.mycp.privacy.transformers.PrivacyMethodReplaceTransform
import org.gradle.api.Project

/**
 * @author: liujie
 * @date: 2022/8/23 上午10:17 
 * @description: 
 */
@AutoService(ClassTransformer::class)
class PrivacyRegisterTransform(androidProject: Project) : BaseTransform(androidProject) {

    override val transformers = listOf<Transformer>(
        BaseLoaderTransformer(
            listOf(
                PrivacyMethodReplaceTransform()
            )
        )
    )

    override fun getName(): String {
        return "PrivacyRegisterTransform"
    }

}
